PackageValidator detects variances with the SCORM specification.
Namespace: Microsoft.LearningComponents
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public class PackageValidator |
| Name | Description | |
| ÐS | Validate (PackageReader) | Validate the basic structure of a package to ensure it is e-learning content. This method does not verify any package details, but rather verifies that the structure of the package indicates it is intended to be e-learning content that can be rendered within MLC. |
| ÐS | Validate (PackageReader, PackageValidatorSettings) | Validate a package according to specific validation settings. |
Given a SCORM package, the PackageValidator will verify that the manifest is correct (using the ManifestValidator object) and verify that the files referenced in the manifest are actually present in the package.
The PackageValidator does not verify that files referenced within assets and not within the package manifest are present in the package. Put another way: the PackageValidator does not read or parse the contents of any file (other than the manifest) within the package.
Definitions: Error = A required node in a SCORM package either does not exist or does not have an appropriate value. Warning = A SCORM recommendation is not followed in the package or an optional value in the package has an invalid value.